package com.ewhl.mark.meijialian;

import com.ewhl.mark.meijialian.volley.BaseVO;

import java.io.Serializable;
import java.util.List;

public class ShopBean  extends BaseVO{

    /**
     * status : 200
     * list : [{"store_id":"10","store_name":"凌风微客","sc_id":"10","store_logo":"/Public/upload/package/1532423982.jpeg","store_longitude":"119.120164","store_latitude":"36.717041","sc_name":"生活/服务","dis":276.58},{"store_id":"11","store_name":"凌风shop","sc_id":"3","store_logo":"","store_longitude":"119.123851","store_latitude":"36.722835","sc_name":"3C数码","dis":452.76}]
     */

    private int status;
    private List<ListBean> list;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean  implements Serializable{
        /**
         * store_id : 10
         * store_name : 凌风微客
         * sc_id : 10
         * store_logo : /Public/upload/package/1532423982.jpeg
         * store_longitude : 119.120164
         * store_latitude : 36.717041
         * sc_name : 生活/服务
         * dis : 276.58
         */

        private String store_id;
        private String store_name;
        private String sc_id;
        private String store_logo;
        private double store_longitude;
        private double store_latitude;
        private String sc_name;
        private String dis;
        private int  is_shoucang;

        public int getIs_shoucang() {
            return is_shoucang;
        }

        public void setIs_shoucang(int is_shoucang) {
            this.is_shoucang = is_shoucang;
        }

        public String getStore_id() {
            return store_id;
        }

        public void setStore_id(String store_id) {
            this.store_id = store_id;
        }

        public String getStore_name() {
            return store_name;
        }

        public void setStore_name(String store_name) {
            this.store_name = store_name;
        }

        public String getSc_id() {
            return sc_id;
        }

        public void setSc_id(String sc_id) {
            this.sc_id = sc_id;
        }

        public String getStore_logo() {
            return store_logo;
        }

        public void setStore_logo(String store_logo) {
            this.store_logo = store_logo;
        }

        public double getStore_longitude() {
            return store_longitude;
        }

        public void setStore_longitude(double store_longitude) {
            this.store_longitude = store_longitude;
        }

        public double getStore_latitude() {
            return store_latitude;
        }

        public void setStore_latitude(double store_latitude) {
            this.store_latitude = store_latitude;
        }

        public String getSc_name() {
            return sc_name;
        }

        public void setSc_name(String sc_name) {
            this.sc_name = sc_name;
        }

        public String getDis() {
            return dis;
        }

        public void setDis(String dis) {
            this.dis = dis;
        }

        @Override
        public boolean equals(Object obj) {
            if(obj instanceof ListBean){
                if(this.store_id.equals(((ListBean)obj).store_id)){
                    return true;
                }else {
                    return false;
                }
            }else {
                return false;
            }
        }
    }
}
